package com.example.demo.service;

import com.example.demo.entity.SysUser;

import java.util.List;

/**
 * @author Administrator
 * @className wuyp
 * @description:
 * @Date 2022/3/24 18:10
 **/

public interface SysUserService  {
    SysUser findByUsername(String userName);
    SysUser getUser(String username, String password);
    List<SysUser>  findAll();
    SysUser  addUser(SysUser user);
    void deleteUserById(Integer id);
    void deleteBatchUsers(List<Integer>ids);
    SysUser findById(Integer id);
    void updateUserById(SysUser user);

}
